﻿#ifndef CAMERATHREAD_H
#define CAMERATHREAD_H
#include <QThread>
#include <imagesourcecameraoperate.h>

using namespace cv;
class CameraThread : public QThread
{
    Q_OBJECT
public:
    CameraThread(ImageSourceCameraOperate * mcameraOperate);
    virtual void run() override;
    bool isStopThread = false;
private:
    ImageSourceCameraOperate * cameraOperate;


signals:
    void showMat_sig(cv::Mat mat);
};

#endif // CAMERATHREAD_H
